package com.tone.ji_volunteer.mapper;

import com.tone.ji_volunteer.pojo.Swiper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author tone(ang)
 * version 1.0
 */
@Mapper
public interface AdvertiseMapper {
    @Select("select id, image, url from ji_volunteer.swiper")
    List<Swiper> list();
}
